/*
        全管历史查询模块

        功能： 单管显示查询 单管比较查询 双管比较查询

        组成：
*/
import QtQuick 2.0
//import "../childViews2"
import QtGraphicalEffects 1.0
import QtQuick.Controls 1.3
import QtQuick.Controls.Styles 1.2

Rectangle {
    clip: true

    property color topic_table_background_color: "#661299df"//淡蓝透明
    property color time_topic_table_background_color: "#aaaaaa"//深银灰色
    property color temp_topic_table_background_color: "#cccccc"//浅银灰色
    property color tubes_gap_table_line_color: "#103366"//蓝黑
    property color table_line_color: "#66666666"//透明灰
    property color sheet_button_panel_bcolor: "#4578dd"//深艳蓝

    property bool isSelected_sheet1:true
    property bool isSelected_sheet2:false
    property bool isSelected_sheet3:false
    property bool isSelected_sheet4:false

    property int groupNum:1


    property var from_date : new Date()
    property var to_date : new Date()
    color:"#777777"//黑灰色





    //专门存放每组12根管的时间和数据
    //入管
    ListModel{
        id:tube_in1_datas_model
    }
    ListModel{
        id:tube_in2_datas_model
    }
    ListModel{
        id:tube_in3_datas_model
    }
    ListModel{
        id:tube_in4_datas_model
    }
    ListModel{
        id:tube_in5_datas_model
    }
    ListModel{
        id:tube_in6_datas_model
    }
    ListModel{
        id:tube_in7_datas_model
    }
    ListModel{
        id:tube_in8_datas_model
    }
    ListModel{
        id:tube_in9_datas_model
    }
    ListModel{
        id:tube_in10_datas_model
    }
    ListModel{
        id:tube_in11_datas_model
    }
    ListModel{
        id:tube_in12_datas_model
    }
    //出管
    ListModel{
        id:tube_out1_datas_model
    }
    ListModel{
        id:tube_out2_datas_model
    }
    ListModel{
        id:tube_out3_datas_model
    }
    ListModel{
        id:tube_out4_datas_model
    }
    ListModel{
        id:tube_out5_datas_model
    }
    ListModel{
        id:tube_out6_datas_model
    }
    ListModel{
        id:tube_out7_datas_model
    }
    ListModel{
        id:tube_out8_datas_model
    }
    ListModel{
        id:tube_out9_datas_model
    }
    ListModel{
        id:tube_out10_datas_model
    }
    ListModel{
        id:tube_out11_datas_model
    }
    ListModel{
        id:tube_out12_datas_model
    }

    //COT
    ListModel{
        id:tube_cot1_datas_model
    }
    ListModel{
        id:tube_cot2_datas_model
    }
    ListModel{
        id:tube_cot3_datas_model
    }
    ListModel{
        id:tube_cot4_datas_model
    }
    ListModel{
        id:tube_cot5_datas_model
    }
    ListModel{
        id:tube_cot6_datas_model
    }
    ListModel{
        id:tube_cot7_datas_model
    }
    ListModel{
        id:tube_cot8_datas_model
    }
    ListModel{
        id:tube_cot9_datas_model
    }
    ListModel{
        id:tube_cot10_datas_model
    }
    ListModel{
        id:tube_cot11_datas_model
    }
    ListModel{
        id:tube_cot12_datas_model
    }

    //生成数据 调试函数
    function createDatas_1(){
        var i =0;
        //入管

        //        var in_count = server.get_all_tube_in_count(1);
        for(i=0;i<server.get_all_tube_in_count(1);i++){
            tube_in1_datas_model.append({"time": server.get_all_tube_in_time(1,i), "temp":server.get_all_tube_in_temp(1,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(2);i++){
            tube_in2_datas_model.append({"time": server.get_all_tube_in_time(2,i), "temp":server.get_all_tube_in_temp(2,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(3);i++){
            tube_in3_datas_model.append({"time": server.get_all_tube_in_time(3,i), "temp":server.get_all_tube_in_temp(3,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(4);i++){
            tube_in4_datas_model.append({"time": server.get_all_tube_in_time(4,i), "temp":server.get_all_tube_in_temp(4,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(5);i++){
            tube_in5_datas_model.append({"time": server.get_all_tube_in_time(5,i), "temp":server.get_all_tube_in_temp(5,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(6);i++){
            tube_in6_datas_model.append({"time": server.get_all_tube_in_time(6,i), "temp":server.get_all_tube_in_temp(6,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(7);i++){
            tube_in7_datas_model.append({"time": server.get_all_tube_in_time(7,i), "temp":server.get_all_tube_in_temp(7,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(8);i++){
            tube_in8_datas_model.append({"time": server.get_all_tube_in_time(8,i), "temp":server.get_all_tube_in_temp(8,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(9);i++){
            tube_in9_datas_model.append({"time": server.get_all_tube_in_time(9,i), "temp":server.get_all_tube_in_temp(9,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(10);i++){
            tube_in10_datas_model.append({"time": server.get_all_tube_in_time(10,i), "temp":server.get_all_tube_in_temp(10,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(11);i++){
            tube_in11_datas_model.append({"time": server.get_all_tube_in_time(11,i), "temp":server.get_all_tube_in_temp(11,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(12);i++){
            tube_in12_datas_model.append({"time": server.get_all_tube_in_time(12,i), "temp":server.get_all_tube_in_temp(12,i)})
        }




        //出管
        //        var out_count = server.get_all_tube_out_count();
        for(i=0;i<server.get_all_tube_out_count(1);i++){
            tube_out1_datas_model.append({"time": server.get_all_tube_out_time(1,i), "temp":server.get_all_tube_out_temp(1,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(2);i++){
            tube_out2_datas_model.append({"time": server.get_all_tube_out_time(2,i), "temp":server.get_all_tube_out_temp(2,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(3);i++){
            tube_out3_datas_model.append({"time": server.get_all_tube_out_time(3,i), "temp":server.get_all_tube_out_temp(3,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(4);i++){
            tube_out4_datas_model.append({"time": server.get_all_tube_out_time(4,i), "temp":server.get_all_tube_out_temp(4,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(5);i++){
            tube_out5_datas_model.append({"time": server.get_all_tube_out_time(5,i), "temp":server.get_all_tube_out_temp(5,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(6);i++){
            tube_out6_datas_model.append({"time": server.get_all_tube_out_time(6,i), "temp":server.get_all_tube_out_temp(6,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(7);i++){
            tube_out7_datas_model.append({"time": server.get_all_tube_out_time(7,i), "temp":server.get_all_tube_out_temp(7,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(8);i++){
            tube_out8_datas_model.append({"time": server.get_all_tube_out_time(8,i), "temp":server.get_all_tube_out_temp(8,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(9);i++){
            tube_out9_datas_model.append({"time": server.get_all_tube_out_time(9,i), "temp":server.get_all_tube_out_temp(9,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(10);i++){
            tube_out10_datas_model.append({"time": server.get_all_tube_out_time(10,i), "temp":server.get_all_tube_out_temp(10,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(11);i++){
            tube_out11_datas_model.append({"time": server.get_all_tube_out_time(11,i), "temp":server.get_all_tube_out_temp(11,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(12);i++){
            tube_out12_datas_model.append({"time": server.get_all_tube_out_time(12,i), "temp":server.get_all_tube_out_temp(12,i)})
        }
        console.log("###################################@@@@@@@@@@@@@#!@$%%#^#&(*&(*&$(*)&@!#(*$&(*)#&@!$(*&#@(*&$(#))))))")


        //COT

/*
        for(i=0;i<server.get_all_tube_cot_count(1);i++){
            tube_cot1_datas_model.append({"time": server.get_all_tube_cot_time(1,i), "temp":server.get_all_tube_cot_temp(1,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(2);i++){
            tube_cot2_datas_model.append({"time": server.get_all_tube_cot_time(2,i), "temp":server.get_all_tube_cot_temp(2,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(3);i++){
            tube_cot3_datas_model.append({"time": server.get_all_tube_cot_time(3,i), "temp":server.get_all_tube_cot_temp(3,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(4);i++){
            tube_cot4_datas_model.append({"time": server.get_all_tube_cot_time(4,i), "temp":server.get_all_tube_cot_temp(4,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(5);i++){
            tube_cot5_datas_model.append({"time": server.get_all_tube_cot_time(5,i), "temp":server.get_all_tube_cot_temp(5,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(6);i++){
            tube_cot6_datas_model.append({"time": server.get_all_tube_cot_time(6,i), "temp":server.get_all_tube_cot_temp(6,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(7);i++){
            tube_cot7_datas_model.append({"time": server.get_all_tube_cot_time(7,i), "temp":server.get_all_tube_cot_temp(7,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(8);i++){
            tube_cot8_datas_model.append({"time": server.get_all_tube_cot_time(8,i), "temp":server.get_all_tube_cot_temp(8,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(9);i++){
            tube_cot9_datas_model.append({"time": server.get_all_tube_cot_time(9,i), "temp":server.get_all_tube_cot_temp(9,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(10);i++){
            tube_cot10_datas_model.append({"time": server.get_all_tube_cot_time(10,i), "temp":server.get_all_tube_cot_temp(10,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(11);i++){
            tube_cot11_datas_model.append({"time": server.get_all_tube_cot_time(11,i), "temp":server.get_all_tube_cot_temp(11,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(12);i++){
            tube_cot12_datas_model.append({"time": server.get_all_tube_cot_time(12,i), "temp":server.get_all_tube_cot_temp(12,i)})
        }
*/

        var a=0;
        for(a=0;a<10;a++){
            tube_cot1_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot2_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot3_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot4_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot5_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot6_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot7_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot8_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot9_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot10_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot11_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot12_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }


    }

    function createDatas_2(){
        var i=0;
        //入管

        //        var in_count = server.get_all_tube_in_count();

        for(i=0;i<server.get_all_tube_in_count(13);i++){
            tube_in1_datas_model.append({"time": server.get_all_tube_in_time(13,i), "temp":server.get_all_tube_in_temp(13,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(14);i++){
            tube_in2_datas_model.append({"time": server.get_all_tube_in_time(14,i), "temp":server.get_all_tube_in_temp(14,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(15);i++){
            tube_in3_datas_model.append({"time": server.get_all_tube_in_time(15,i), "temp":server.get_all_tube_in_temp(15,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(16);i++){
            tube_in4_datas_model.append({"time": server.get_all_tube_in_time(16,i), "temp":server.get_all_tube_in_temp(16,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(17);i++){
            tube_in5_datas_model.append({"time": server.get_all_tube_in_time(17,i), "temp":server.get_all_tube_in_temp(17,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(18);i++){
            tube_in6_datas_model.append({"time": server.get_all_tube_in_time(18,i), "temp":server.get_all_tube_in_temp(18,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(19);i++){
            tube_in7_datas_model.append({"time": server.get_all_tube_in_time(19,i), "temp":server.get_all_tube_in_temp(19,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(20);i++){
            tube_in8_datas_model.append({"time": server.get_all_tube_in_time(20,i), "temp":server.get_all_tube_in_temp(20,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(21);i++){
            tube_in9_datas_model.append({"time": server.get_all_tube_in_time(21,i), "temp":server.get_all_tube_in_temp(21,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(22);i++){
            tube_in10_datas_model.append({"time": server.get_all_tube_in_time(22,i), "temp":server.get_all_tube_in_temp(22,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(23);i++){
            tube_in11_datas_model.append({"time": server.get_all_tube_in_time(23,i), "temp":server.get_all_tube_in_temp(23,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(24);i++){
            tube_in12_datas_model.append({"time": server.get_all_tube_in_time(24,i), "temp":server.get_all_tube_in_temp(24,i)})
        }




        //出管
        //        var out_count = server.get_all_tube_out_count();
        for(i=0;i<server.get_all_tube_out_count(13);i++){
            tube_out1_datas_model.append({"time": server.get_all_tube_out_time(13,i), "temp":server.get_all_tube_out_temp(13,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(14);i++){
            tube_out2_datas_model.append({"time": server.get_all_tube_out_time(14,i), "temp":server.get_all_tube_out_temp(14,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(15);i++){
            tube_out3_datas_model.append({"time": server.get_all_tube_out_time(15,i), "temp":server.get_all_tube_out_temp(15,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(16);i++){
            tube_out4_datas_model.append({"time": server.get_all_tube_out_time(16,i), "temp":server.get_all_tube_out_temp(16,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(17);i++){
            tube_out5_datas_model.append({"time": server.get_all_tube_out_time(17,i), "temp":server.get_all_tube_out_temp(17,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(18);i++){
            tube_out6_datas_model.append({"time": server.get_all_tube_out_time(18,i), "temp":server.get_all_tube_out_temp(18,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(19);i++){
            tube_out7_datas_model.append({"time": server.get_all_tube_out_time(19,i), "temp":server.get_all_tube_out_temp(19,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(20);i++){
            tube_out8_datas_model.append({"time": server.get_all_tube_out_time(20,i), "temp":server.get_all_tube_out_temp(20,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(21);i++){
            tube_out9_datas_model.append({"time": server.get_all_tube_out_time(21,i), "temp":server.get_all_tube_out_temp(21,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(22);i++){
            tube_out10_datas_model.append({"time": server.get_all_tube_out_time(22,i), "temp":server.get_all_tube_out_temp(22,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(23);i++){
            tube_out11_datas_model.append({"time": server.get_all_tube_out_time(23,i), "temp":server.get_all_tube_out_temp(23,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(24);i++){
            tube_out12_datas_model.append({"time": server.get_all_tube_out_time(24,i), "temp":server.get_all_tube_out_temp(24,i)})
        }



        //COT


        /*
        for(i=0;i<server.get_all_tube_cot_count(13);i++){
            tube_cot1_datas_model.append({"time": server.get_all_tube_cot_time(13,i), "temp":server.get_all_tube_cot_temp(13,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(14);i++){
            tube_cot2_datas_model.append({"time": server.get_all_tube_cot_time(14,i), "temp":server.get_all_tube_cot_temp(14,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(15);i++){
            tube_cot3_datas_model.append({"time": server.get_all_tube_cot_time(15,i), "temp":server.get_all_tube_cot_temp(15,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(16);i++){
            tube_cot4_datas_model.append({"time": server.get_all_tube_cot_time(16,i), "temp":server.get_all_tube_cot_temp(16,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(17);i++){
            tube_cot5_datas_model.append({"time": server.get_all_tube_cot_time(17,i), "temp":server.get_all_tube_cot_temp(17,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(18);i++){
            tube_cot6_datas_model.append({"time": server.get_all_tube_cot_time(18,i), "temp":server.get_all_tube_cot_temp(18,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(19);i++){
            tube_cot7_datas_model.append({"time": server.get_all_tube_cot_time(19,i), "temp":server.get_all_tube_cot_temp(19,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(20);i++){
            tube_cot8_datas_model.append({"time": server.get_all_tube_cot_time(20,i), "temp":server.get_all_tube_cot_temp(20,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(21);i++){
            tube_cot9_datas_model.append({"time": server.get_all_tube_cot_time(21,i), "temp":server.get_all_tube_cot_temp(21,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(22);i++){
            tube_cot10_datas_model.append({"time": server.get_all_tube_cot_time(22,i), "temp":server.get_all_tube_cot_temp(22,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(23);i++){
            tube_cot11_datas_model.append({"time": server.get_all_tube_cot_time(23,i), "temp":server.get_all_tube_cot_temp(23,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(24);i++){
            tube_cot12_datas_model.append({"time": server.get_all_tube_cot_time(24,i), "temp":server.get_all_tube_cot_temp(24,i)})
        }

*/

        var a=0;
        for(a=0;a<10;a++){
            tube_cot1_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot2_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot3_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot4_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot5_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot6_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot7_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot8_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot9_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot10_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot11_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot12_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }

    }

    function createDatas_3(){
        var i=0;
        //入管

        //        var in_count = server.get_all_tube_in_count();


        for(i=0;i<server.get_all_tube_in_count(25);i++){
            tube_in1_datas_model.append({"time": server.get_all_tube_in_time(25,i), "temp":server.get_all_tube_in_temp(25,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(26);i++){
            tube_in2_datas_model.append({"time": server.get_all_tube_in_time(26,i), "temp":server.get_all_tube_in_temp(26,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(27);i++){
            tube_in3_datas_model.append({"time": server.get_all_tube_in_time(27,i), "temp":server.get_all_tube_in_temp(27,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(28);i++){
            tube_in4_datas_model.append({"time": server.get_all_tube_in_time(28,i), "temp":server.get_all_tube_in_temp(28,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(29);i++){
            tube_in5_datas_model.append({"time": server.get_all_tube_in_time(29,i), "temp":server.get_all_tube_in_temp(29,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(30);i++){
            tube_in6_datas_model.append({"time": server.get_all_tube_in_time(30,i), "temp":server.get_all_tube_in_temp(30,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(31);i++){
            tube_in7_datas_model.append({"time": server.get_all_tube_in_time(31,i), "temp":server.get_all_tube_in_temp(31,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(32);i++){
            tube_in8_datas_model.append({"time": server.get_all_tube_in_time(32,i), "temp":server.get_all_tube_in_temp(32,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(33);i++){
            tube_in9_datas_model.append({"time": server.get_all_tube_in_time(33,i), "temp":server.get_all_tube_in_temp(33,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(34);i++){
            tube_in10_datas_model.append({"time": server.get_all_tube_in_time(34,i), "temp":server.get_all_tube_in_temp(34,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(35);i++){
            tube_in11_datas_model.append({"time": server.get_all_tube_in_time(35,i), "temp":server.get_all_tube_in_temp(35,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(36);i++){
            tube_in12_datas_model.append({"time": server.get_all_tube_in_time(36,i), "temp":server.get_all_tube_in_temp(36,i)})
        }




        //出管
        //        var out_count = server.get_all_tube_out_count();
        for(i=0;i<server.get_all_tube_out_count(25);i++){
            tube_out1_datas_model.append({"time": server.get_all_tube_out_time(25,i), "temp":server.get_all_tube_out_temp(25,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(26);i++){
            tube_out2_datas_model.append({"time": server.get_all_tube_out_time(26,i), "temp":server.get_all_tube_out_temp(26,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(27);i++){
            tube_out3_datas_model.append({"time": server.get_all_tube_out_time(27,i), "temp":server.get_all_tube_out_temp(27,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(28);i++){
            tube_out4_datas_model.append({"time": server.get_all_tube_out_time(28,i), "temp":server.get_all_tube_out_temp(28,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(29);i++){
            tube_out5_datas_model.append({"time": server.get_all_tube_out_time(29,i), "temp":server.get_all_tube_out_temp(29,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(30);i++){
            tube_out6_datas_model.append({"time": server.get_all_tube_out_time(30,i), "temp":server.get_all_tube_out_temp(30,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(31);i++){
            tube_out7_datas_model.append({"time": server.get_all_tube_out_time(31,i), "temp":server.get_all_tube_out_temp(31,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(32);i++){
            tube_out8_datas_model.append({"time": server.get_all_tube_out_time(32,i), "temp":server.get_all_tube_out_temp(32,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(33);i++){
            tube_out9_datas_model.append({"time": server.get_all_tube_out_time(33,i), "temp":server.get_all_tube_out_temp(33,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(34);i++){
            tube_out10_datas_model.append({"time": server.get_all_tube_out_time(34,i), "temp":server.get_all_tube_out_temp(34,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(35);i++){
            tube_out11_datas_model.append({"time": server.get_all_tube_out_time(35,i), "temp":server.get_all_tube_out_temp(35,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(36);i++){
            tube_out12_datas_model.append({"time": server.get_all_tube_out_time(36,i), "temp":server.get_all_tube_out_temp(36,i)})
        }

        console.log("###################################@@@@@@@@@@@@@#!@$%%#^#&(*&(*&$(*)&@!#(*$&(*)#&@!$(*&#@(*&$(#))))))")


        //COT

        /*
        for(i=0;i<server.get_all_tube_cot_count(25);i++){
            tube_cot1_datas_model.append({"time": server.get_all_tube_cot_time(25,i), "temp":server.get_all_tube_cot_temp(25,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(26);i++){
            tube_cot2_datas_model.append({"time": server.get_all_tube_cot_time(26,i), "temp":server.get_all_tube_cot_temp(26,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(27);i++){
            tube_cot3_datas_model.append({"time": server.get_all_tube_cot_time(27,i), "temp":server.get_all_tube_cot_temp(27,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(28);i++){
            tube_cot4_datas_model.append({"time": server.get_all_tube_cot_time(28,i), "temp":server.get_all_tube_cot_temp(28,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(29);i++){
            tube_cot5_datas_model.append({"time": server.get_all_tube_cot_time(29,i), "temp":server.get_all_tube_cot_temp(29,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(30);i++){
            tube_cot6_datas_model.append({"time": server.get_all_tube_cot_time(30,i), "temp":server.get_all_tube_cot_temp(30,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(31);i++){
            tube_cot7_datas_model.append({"time": server.get_all_tube_cot_time(31,i), "temp":server.get_all_tube_cot_temp(31,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(32);i++){
            tube_cot8_datas_model.append({"time": server.get_all_tube_cot_time(32,i), "temp":server.get_all_tube_cot_temp(32,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(33);i++){
            tube_cot9_datas_model.append({"time": server.get_all_tube_cot_time(33,i), "temp":server.get_all_tube_cot_temp(33,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(34);i++){
            tube_cot10_datas_model.append({"time": server.get_all_tube_cot_time(34,i), "temp":server.get_all_tube_cot_temp(34,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(35);i++){
            tube_cot11_datas_model.append({"time": server.get_all_tube_cot_time(35,i), "temp":server.get_all_tube_cot_temp(35,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(36);i++){
            tube_cot12_datas_model.append({"time": server.get_all_tube_cot_time(36,i), "temp":server.get_all_tube_cot_temp(36,i)})
        }

*/



        var a=0;
        for(a=0;a<10;a++){
            tube_cot1_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot2_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot3_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot4_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot5_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot6_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot7_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot8_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot9_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot10_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot11_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot12_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }


    }

    function createDatas_4(){
        var i=0;
        //入管

        //        var in_count = server.get_all_tube_in_count();

        for(i=0;i<server.get_all_tube_in_count(37);i++){
            console.log("37****"+i)
            tube_in1_datas_model.append({"time": server.get_all_tube_in_time(37,i), "temp":server.get_all_tube_in_temp(37,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(38);i++){
            console.log("38****"+i)
            tube_in2_datas_model.append({"time": server.get_all_tube_in_time(38,i), "temp":server.get_all_tube_in_temp(38,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(39);i++){
            console.log("39****"+i)
            tube_in3_datas_model.append({"time": server.get_all_tube_in_time(39,i), "temp":server.get_all_tube_in_temp(39,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(40);i++){
            tube_in4_datas_model.append({"time": server.get_all_tube_in_time(40,i), "temp":server.get_all_tube_in_temp(40,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(41);i++){
            tube_in5_datas_model.append({"time": server.get_all_tube_in_time(41,i), "temp":server.get_all_tube_in_temp(41,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(42);i++){
            tube_in6_datas_model.append({"time": server.get_all_tube_in_time(42,i), "temp":server.get_all_tube_in_temp(42,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(43);i++){
            tube_in7_datas_model.append({"time": server.get_all_tube_in_time(43,i), "temp":server.get_all_tube_in_temp(43,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(44);i++){
            tube_in8_datas_model.append({"time": server.get_all_tube_in_time(44,i), "temp":server.get_all_tube_in_temp(44,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(45);i++){
            tube_in9_datas_model.append({"time": server.get_all_tube_in_time(45,i), "temp":server.get_all_tube_in_temp(45,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(46);i++){
            tube_in10_datas_model.append({"time": server.get_all_tube_in_time(46,i), "temp":server.get_all_tube_in_temp(46,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(47);i++){
            tube_in11_datas_model.append({"time": server.get_all_tube_in_time(47,i), "temp":server.get_all_tube_in_temp(47,i)})
        }
        for(i=0;i<server.get_all_tube_in_count(48);i++){
            tube_in12_datas_model.append({"time": server.get_all_tube_in_time(48,i), "temp":server.get_all_tube_in_temp(48,i)})
        }




        //出管
        for(i=0;i<server.get_all_tube_out_count(37);i++){
            console.log("37****"+i)
            tube_out1_datas_model.append({"time": server.get_all_tube_out_time(37,i), "temp":server.get_all_tube_out_temp(37,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(38);i++){
            console.log("38****"+i)
            tube_out2_datas_model.append({"time": server.get_all_tube_out_time(38,i), "temp":server.get_all_tube_out_temp(38,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(39);i++){
            console.log("39****"+i)
            tube_out3_datas_model.append({"time": server.get_all_tube_out_time(39,i), "temp":server.get_all_tube_out_temp(39,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(40);i++){
            tube_out4_datas_model.append({"time": server.get_all_tube_out_time(40,i), "temp":server.get_all_tube_out_temp(40,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(41);i++){
            tube_out5_datas_model.append({"time": server.get_all_tube_out_time(41,i), "temp":server.get_all_tube_out_temp(41,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(42);i++){
            tube_out6_datas_model.append({"time": server.get_all_tube_out_time(42,i), "temp":server.get_all_tube_out_temp(42,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(43);i++){
            tube_out7_datas_model.append({"time": server.get_all_tube_out_time(43,i), "temp":server.get_all_tube_out_temp(43,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(44);i++){
            tube_out8_datas_model.append({"time": server.get_all_tube_out_time(44,i), "temp":server.get_all_tube_out_temp(44,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(45);i++){
            tube_out9_datas_model.append({"time": server.get_all_tube_out_time(45,i), "temp":server.get_all_tube_out_temp(45,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(46);i++){
            tube_out10_datas_model.append({"time": server.get_all_tube_out_time(46,i), "temp":server.get_all_tube_out_temp(46,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(47);i++){
            tube_out11_datas_model.append({"time": server.get_all_tube_out_time(47,i), "temp":server.get_all_tube_out_temp(47,i)})
        }
        for(i=0;i<server.get_all_tube_out_count(48);i++){
            tube_out12_datas_model.append({"time": server.get_all_tube_out_time(48,i), "temp":server.get_all_tube_out_temp(48,i)})
        }



        //COT

        /*
        for(i=0;i<server.get_all_tube_cot_count(37);i++){
            console.log("37****"+i)
            tube_cot1_datas_model.append({"time": server.get_all_tube_cot_time(37,i), "temp":server.get_all_tube_cot_temp(37,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(38);i++){
            console.log("38****"+i)
            tube_cot2_datas_model.append({"time": server.get_all_tube_cot_time(38,i), "temp":server.get_all_tube_cot_temp(38,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(39);i++){
            console.log("39****"+i)
            tube_cot3_datas_model.append({"time": server.get_all_tube_cot_time(39,i), "temp":server.get_all_tube_cot_temp(39,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(40);i++){
            tube_cot4_datas_model.append({"time": server.get_all_tube_cot_time(40,i), "temp":server.get_all_tube_cot_temp(40,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(41);i++){
            tube_cot5_datas_model.append({"time": server.get_all_tube_cot_time(41,i), "temp":server.get_all_tube_cot_temp(41,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(42);i++){
            tube_cot6_datas_model.append({"time": server.get_all_tube_cot_time(42,i), "temp":server.get_all_tube_cot_temp(42,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(43);i++){
            tube_cot7_datas_model.append({"time": server.get_all_tube_cot_time(43,i), "temp":server.get_all_tube_cot_temp(43,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(44);i++){
            tube_cot8_datas_model.append({"time": server.get_all_tube_cot_time(44,i), "temp":server.get_all_tube_cot_temp(44,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(45);i++){
            tube_cot9_datas_model.append({"time": server.get_all_tube_cot_time(45,i), "temp":server.get_all_tube_cot_temp(45,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(46);i++){
            tube_cot10_datas_model.append({"time": server.get_all_tube_cot_time(46,i), "temp":server.get_all_tube_cot_temp(46,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(47);i++){
            tube_cot11_datas_model.append({"time": server.get_all_tube_cot_time(47,i), "temp":server.get_all_tube_cot_temp(47,i)})
        }
        for(i=0;i<server.get_all_tube_cot_count(48);i++){
            tube_cot12_datas_model.append({"time": server.get_all_tube_cot_time(48,i), "temp":server.get_all_tube_cot_temp(48,i)})
        }

        */




        var a=0;
        for(a=0;a<10;a++){
            tube_cot1_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot2_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot3_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot4_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot5_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot6_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot7_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot8_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot9_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot10_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot11_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }
        for(a=0;a<10;a++){
            tube_cot12_datas_model.append({"time": "15.03.03 12:20:30", "temp":1000})
        }




    }

    //清除ListModel清空3类*12管数据
    function clearDatas(){
        //入管
        tube_in1_datas_model.clear();
        tube_in2_datas_model.clear();
        tube_in3_datas_model.clear();
        tube_in4_datas_model.clear();
        tube_in5_datas_model.clear();
        tube_in6_datas_model.clear();
        tube_in7_datas_model.clear();
        tube_in8_datas_model.clear();
        tube_in9_datas_model.clear();
        tube_in10_datas_model.clear();
        tube_in11_datas_model.clear();
        tube_in12_datas_model.clear();
        //出管
        tube_out1_datas_model.clear();
        tube_out2_datas_model.clear();
        tube_out3_datas_model.clear();
        tube_out4_datas_model.clear();
        tube_out5_datas_model.clear();
        tube_out6_datas_model.clear();
        tube_out7_datas_model.clear();
        tube_out8_datas_model.clear();
        tube_out9_datas_model.clear();
        tube_out10_datas_model.clear();
        tube_out11_datas_model.clear();
        tube_out12_datas_model.clear();


        //COT
        tube_cot1_datas_model.clear();
        tube_cot2_datas_model.clear();
        tube_cot3_datas_model.clear();
        tube_cot4_datas_model.clear();
        tube_cot5_datas_model.clear();
        tube_cot6_datas_model.clear();
        tube_cot7_datas_model.clear();
        tube_cot8_datas_model.clear();
        tube_cot9_datas_model.clear();
        tube_cot10_datas_model.clear();
        tube_cot11_datas_model.clear();
        tube_cot12_datas_model.clear();


    }

    //    Component.onCompleted: createDatas();



    //时间选择栏目
    Rectangle{
        id: timeSelectpanel
        width: parent.width
        height: 100
        color: "#666666"

        //从时间
        Text {
            id: selectDate1
            text: qsTr("从时间:")
            //            anchors.verticalCenter: currrentDate.verticalCenter
            y: 10
            anchors.left: currrentDate.right
            anchors.leftMargin: 90
            x:450
            font.pixelSize: 30
            color: "#12ddaf"
        }
        Rectangle{
            id: yearText1Rec1
            width: 80
            height: 30
            anchors.verticalCenter: selectDate1.verticalCenter
            anchors.left: selectDate1.right
            anchors.leftMargin: 20
            radius: 3
            color: "#363636"
            clip: true
            TextField{
                id: yearText1
                width: parent.width
                height: parent.height

                y:2
                x:5
                validator: IntValidator {bottom: 2000; top: 3000;}
                onEditingFinished:{
                    var year1 = Number(yearText1.text.toString())
                    from_date.setFullYear(year1)

                    console.log(from_date)
                }



                //            color: "#12afdd"
                //            inputMethodHints: Qt.ImhDate
                style: TextFieldStyle {
                    textColor: "#12afdd"
                    font.pixelSize: 25
                    background: Rectangle {
                        implicitWidth: 80
                        implicitHeight: 30
                        radius: 3
                        color: "#363636"
                        clip: true
                    }
                }

            }
        }

        Text {
            id: yearlabel1
            text: qsTr("年")
            font.pixelSize: 30
            color: "#12ddaf";
            anchors.verticalCenter: yearText1Rec1.verticalCenter
            anchors.left: yearText1Rec1.right
            anchors.leftMargin: 10
        }

        Rectangle{
            id: monthText1Rec1
            width: 80
            height: 30
            anchors.verticalCenter: yearlabel1.verticalCenter
            anchors.left: yearlabel1.right
            anchors.leftMargin: 20
            radius: 3
            color: "#363636"
            clip: true
            TextField{
                id: monthText1
                width: parent.width
                height: parent.height
                validator: IntValidator {bottom: 01; top: 12;}
                onEditingFinished:{
                    var month1 = Number(monthText1.text.toString())-1
                    from_date.setMonth(month1)
                    console.log(from_date)
                }
                y:2
                x:5
                //            color: "#12afdd"
                //            inputMethodHints: Qt.ImhDate
                style: TextFieldStyle {
                    textColor: "#12afdd"
                    font.pixelSize: 25
                    background: Rectangle {
                        implicitWidth: 80
                        implicitHeight: 30
                        radius: 3
                        color: "#363636"
                        clip: true
                    }
                }

            }
        }

        Text {
            id: monthlabel1
            text: qsTr("月")
            font.pixelSize: 30
            color: "#12ddaf"
            anchors.verticalCenter: monthText1Rec1.verticalCenter
            anchors.left: monthText1Rec1.right
            anchors.leftMargin: 10
        }
        Rectangle{
            id: dayTextRec1
            width: 80
            height: 30
            anchors.verticalCenter: monthlabel1.verticalCenter
            anchors.left: monthlabel1.right
            anchors.leftMargin: 20
            radius: 3
            color: "#363636"
            clip: true
            TextField{
                id: dayText1
                width: parent.width
                height: parent.height

                y:2
                x:5
                validator: IntValidator {bottom: 01; top: 31 ;}
                onEditingFinished:{
                    var day1 = Number(dayText1.text.toString())
                    from_date.setDate(day1)
                    console.log(from_date)
                }

                //            color: "#12afdd"
                //            inputMethodHints: Qt.ImhDate
                style: TextFieldStyle {
                    textColor: "#12afdd"
                    font.pixelSize: 25
                    background: Rectangle {
                        implicitWidth: 80
                        implicitHeight: 30
                        radius: 3
                        color: "#363636"
                        clip: true
                    }
                }

            }
        }

        Text {
            id: daylabel11
            text: qsTr("日")
            font.pixelSize: 30
            color: "#12ddaf"
            anchors.verticalCenter: dayTextRec1.verticalCenter
            anchors.left: dayTextRec1.right
            anchors.leftMargin: 10
        }

        //到时间
        Text {
            id: selectDate2
            text: qsTr("到时间:")
            //            anchors.verticalCenter: currrentDate.verticalCenter
            y: 60
            anchors.left: currrentDate.right
            anchors.leftMargin: 90
            x:450
            font.pixelSize: 30
            color: "#12ddaf"
        }
        Rectangle{
            id: yearText1Rec2
            width: 80
            height: 30
            anchors.verticalCenter: selectDate2.verticalCenter
            anchors.left: selectDate2.right
            anchors.leftMargin: 20
            radius: 3
            color: "#363636"
            clip: true
            TextField{
                id: yearText2
                width: parent.width
                height: parent.height

                y:2
                x:5
                validator: IntValidator {bottom: 2000; top: 3000;}
                onEditingFinished:{
                    var year2 = Number(yearText2.text.toString())
                    to_date.setFullYear(year2)
                    console.log(to_date)
                }
                //            color: "#12afdd"
                //            inputMethodHints: Qt.ImhDate
                style: TextFieldStyle {
                    textColor: "#12afdd"
                    font.pixelSize: 25
                    background: Rectangle {
                        implicitWidth: 80
                        implicitHeight: 30
                        radius: 3
                        color: "#363636"
                        clip: true
                    }
                }

            }
        }

        Text {
            id: yearlabel2
            text: qsTr("年")
            font.pixelSize: 30
            color: "#12ddaf"
            anchors.verticalCenter: yearText1Rec2.verticalCenter
            anchors.left: yearText1Rec2.right
            anchors.leftMargin: 10
        }

        Rectangle{
            id: monthText1Rec2
            width: 80
            height: 30
            anchors.verticalCenter: yearlabel2.verticalCenter
            anchors.left: yearlabel2.right
            anchors.leftMargin: 20
            radius: 3
            color: "#363636"
            clip: true
            TextField{
                id: monthText2
                width: parent.width
                height: parent.height
                validator: IntValidator {bottom: 01; top: 12;}
                onEditingFinished:{
                    var month2 = Number(monthText2.text.toString())-1
                    to_date.setMonth(month2)
                    console.log(to_date)
                }
                y:2
                x:5
                //            color: "#12afdd"
                //            inputMethodHints: Qt.ImhDate
                style: TextFieldStyle {
                    textColor: "#12afdd"
                    font.pixelSize: 25
                    background: Rectangle {
                        implicitWidth: 80
                        implicitHeight: 30
                        radius: 3
                        color: "#363636"
                        clip: true
                    }
                }

            }
        }

        Text {
            id: monthlabel2
            text: qsTr("月")
            font.pixelSize: 30
            color: "#12ddaf"
            anchors.verticalCenter: monthText1Rec2.verticalCenter
            anchors.left: monthText1Rec2.right
            anchors.leftMargin: 10
        }
        Rectangle{
            id: dayTextRec2
            width: 80
            height: 30
            anchors.verticalCenter: monthlabel2.verticalCenter
            anchors.left: monthlabel2.right
            anchors.leftMargin: 20
            radius: 3
            color: "#363636"
            clip: true
            TextField{
                id: dayText2
                width: parent.width
                height: parent.height

                y:2
                x:5
                validator: IntValidator {bottom: 01; top: 31 ;}
                onEditingFinished:{
                    var day2 = Number(dayText2.text.toString())
                    to_date.setDate(day2)
                    console.log(to_date)
                }

                //            color: "#12afdd"
                //            inputMethodHints: Qt.ImhDate
                style: TextFieldStyle {
                    textColor: "#12afdd"
                    font.pixelSize: 25
                    background: Rectangle {
                        implicitWidth: 80
                        implicitHeight: 30
                        radius: 3
                        color: "#363636"
                        clip: true
                    }
                }

            }
        }

        Text {
            id: daylabel12
            text: qsTr("日")
            font.pixelSize: 30
            color: "#12ddaf"
            anchors.verticalCenter: dayTextRec2.verticalCenter
            anchors.left: dayTextRec2.right
            anchors.leftMargin: 10
        }

        //确定查询按钮
        Rectangle{
            id:confirmBnt
            width: 200
            height: 60
            anchors.verticalCenter: parent.verticalCenter
            anchors.left: daylabel11.right
            anchors.leftMargin: 30
            radius: 3
            border.width: 1
            border.color: ma.containsMouse?"#444444":color
            Text {
                id: confirmText
                text: qsTr("查询")
                anchors.centerIn: parent
                font.pixelSize: 30
                color: "#333333"
                font.bold: true
            }
            color: ma.containsMouse?"#aa669dec":"#aa578ada"
            MouseArea{
                anchors.fill: parent
                id:ma
                hoverEnabled: true
                onClicked: {




                    var year1 = Number(yearText1.text.toString())
                    from_date.setFullYear(year1)
                    var month1 = Number(monthText1.text.toString())-1
                    from_date.setMonth(month1)
                    var day1 = Number(dayText1.text.toString())
                    from_date.setDate(day1)

                    var year2 = Number(yearText2.text.toString())
                    to_date.setFullYear(year2)
                    var month2 = Number(monthText2.text.toString())-1
                    to_date.setMonth(month2)
                    var day2 = Number(dayText2.text.toString())
                    to_date.setDate(day2)



                    console.log("=========================================")
                    console.log(from_date)
                    console.log(to_date)
                    console.log("=========================================")
                    server.all_tube_show(5,from_date,to_date);
                    clearDatas();
                    createDatas_1();
                }
            }
        }

        //导出数据按钮
        Rectangle{
            id:extract_datas_bnt
            width: 200
            height: 60
            anchors.verticalCenter: parent.verticalCenter
            anchors.left: confirmBnt.right
            anchors.leftMargin: 30
            radius: 3
            border.width: 1
            border.color: extract_datasma.containsMouse?"#444444":color
            Text {
                id: extract_datasText
                text: qsTr("数据导出")
                anchors.centerIn: parent
                font.pixelSize: 30
                color: "#333333"
                font.bold: true
            }
            color: extract_datasma.containsMouse?"#aa669dec":"#aa578ada"
            MouseArea{
                anchors.fill: parent
                id:extract_datasma
                hoverEnabled: true
                onClicked: {
                    console.log("export Excel")
                    server.exportExcel1()
                }

            }

        }
    }

    //表格显示框
    Rectangle{
        id: tableRec
        width: parent.width-60
        height: parent.height-timeSelectpanel.height-100
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top: timeSelectpanel.bottom
        anchors.topMargin: 25
        color: "#aaaaaa"
        border.width: 3
        radius: 2
        //        clip: true
        border.color: "#444444"
        Rectangle{
            width: parent.width-6
            height: parent.height-6
            anchors.centerIn: parent
            color: parent.color
            //            clip: true
            radius: 3

            //竖向滑竿区域
            Rectangle{
                width: 20
                height: subflic.height
                anchors.left: topicFlic.right
                y:45
                color: "#666666"//黑色
                Rectangle{
                    width: parent.width
                    height: 3
                    color: "#444444"//黑色
                    y:-3
                }
                Rectangle{
                    width: parent.width
                    height: 3
                    color: "#444444"
                    anchors.bottom: parent.bottom
                    anchors.bottomMargin: -3

                }
                Rectangle{
                    width: 3
                    height: parent.height+6
                    color: "#444444"
                    anchors.right: parent.right
                    anchors.rightMargin: -3
                    anchors.verticalCenter: parent.verticalCenter
                }

                Rectangle{
                    anchors.fill: parent
                    clip: true
                    color: parent.color
                    Rectangle{
                        id:vslider
                        width: 16
                        height: subflic.height*400/subflic.contentHeight
                        y:subflic.contentY*(subflic.height-height)/(subflic.contentHeight-subflic.height)
                        x:2
                        color: "#2289a3"//青深蓝
                    }
                }


            }

            Flickable{
                id:topicFlic
                width: parent.width
                height: parent.height-60
                contentWidth: topicRow.width
                contentHeight: height
                clip: true

                //                contentX: hslider.x*(contentWidth-width)/(width-hslider.width)
                //                x:topicFlic.contentX*(topicFlic.width-width)/(topicFlic.contentWidth-topicFlic.width)
                //表头
                Row{
                    id: topicRow
                    Repeater{
                        model: 12
                        delegate: Rectangle{
                            width: 660
                            height: 45
                            color: "#00000000"
                            Rectangle{
                                width: 1
                                height: parent.height
                                anchors.right: parent.left
                                color: table_line_color
                            }

                            Rectangle{
                                id: tubeNum
                                width: 660
                                height: 25
                                color: topic_table_background_color
                                Rectangle{
                                    width: parent.width
                                    height: 1
                                    anchors.bottom: parent.bottom
                                    color: table_line_color
                                }
                                Rectangle{
                                    width: 1
                                    height: parent.height
                                    color: tubes_gap_table_line_color
                                    anchors.right: parent.right
                                }

                                Text {
                                    text: ((groupNum-1)*12+(index+1))+qsTr("号管")
                                    font.pixelSize: 20
                                    anchors.centerIn: parent
                                }
                            }

                            Rectangle{
                                id: tube_in_time
                                width: 140
                                height: 20
                                anchors.top: tubeNum.bottom
                                color: time_topic_table_background_color
                                Text {

                                    text: qsTr("入管时间")
                                    font.pixelSize: 16
                                    anchors.centerIn: parent

                                }
                                Rectangle{
                                    width: parent.width
                                    height: 1
                                    anchors.bottom: parent.bottom
                                    color: table_line_color
                                }
                                Rectangle{
                                    width: 1
                                    height: parent.height
                                    anchors.right: parent.right
                                    color: table_line_color
                                }
                            }
                            Rectangle{
                                id: tube_in_temp
                                width: 80
                                height: 20
                                anchors.left: tube_in_time.right
                                anchors.verticalCenter: tube_in_time.verticalCenter
                                color: temp_topic_table_background_color
                                Text {

                                    text: qsTr("入管温度")
                                    font.pixelSize: 16
                                    anchors.centerIn: parent

                                }
                                Rectangle{
                                    width: parent.width
                                    height: 1
                                    anchors.bottom: parent.bottom
                                    color: table_line_color
                                }
                                Rectangle{
                                    width: 1
                                    height: parent.height
                                    anchors.right: parent.right
                                    color: table_line_color

                                }

                            }

                            Rectangle{
                                id: tube_out_time
                                width: 140
                                height: 20
                                anchors.top: tubeNum.bottom
                                anchors.left: tube_in_temp.right
                                color: time_topic_table_background_color
                                Text {

                                    text: qsTr("出管时间")
                                    font.pixelSize: 16
                                    anchors.centerIn: parent

                                }
                                Rectangle{
                                    width: parent.width
                                    height: 1
                                    anchors.bottom: parent.bottom
                                    color: table_line_color
                                }
                                Rectangle{
                                    width: 1
                                    height: parent.height
                                    anchors.right: parent.right
                                    color: table_line_color
                                }
                            }
                            Rectangle{
                                id: tube_out_temp
                                width: 80
                                height: 20
                                anchors.left: tube_out_time.right
                                anchors.verticalCenter: tube_out_time.verticalCenter
                                color: temp_topic_table_background_color
                                Text {

                                    text: qsTr("出管温度")
                                    font.pixelSize: 16
                                    anchors.centerIn: parent

                                }
                                Rectangle{
                                    width: parent.width
                                    height: 1
                                    anchors.bottom: parent.bottom
                                    color:table_line_color
                                }
                                Rectangle{
                                    width: 1
                                    height: parent.height
                                    anchors.right: parent.right
                                    color: table_line_color

                                }

                            }

                            Rectangle{
                                id: tube_cot_time
                                width: 140
                                height: 20
                                anchors.top: tubeNum.bottom
                                anchors.left: tube_out_temp.right
                                color: time_topic_table_background_color
                                Text {

                                    text: qsTr("COT时间")
                                    font.pixelSize: 16
                                    anchors.centerIn: parent

                                }
                                Rectangle{
                                    width: parent.width
                                    height: 1
                                    anchors.bottom: parent.bottom
                                    color: table_line_color
                                }
                                Rectangle{
                                    width: 1
                                    height: parent.height
                                    anchors.right: parent.right
                                    color: table_line_color
                                }
                            }
                            Rectangle{
                                id: tube_cot_temp
                                width: 80
                                height: 20
                                anchors.left: tube_cot_time.right
                                anchors.verticalCenter: tube_cot_time.verticalCenter
                                color: temp_topic_table_background_color
                                Text {

                                    text: qsTr("COT温度")
                                    font.pixelSize: 16
                                    anchors.centerIn: parent

                                }
                                Rectangle{
                                    width: parent.width
                                    height: 1
                                    anchors.bottom: parent.bottom
                                    color: table_line_color
                                }
                                Rectangle{
                                    width: 1
                                    height: parent.height
                                    anchors.right: parent.right
                                    color: tubes_gap_table_line_color

                                }

                            }

                        }
                    }
                }

                Flickable{
                    id:subflic
                    width: datasRow.width
                    height: parent.height-topicRow.height
                    anchors.bottom: parent.bottom
                    clip: true
                    contentWidth: width
                    contentHeight: datasRow.height*tube_in1_datas_model.count

                    Rectangle{
                        width: subflic.contentWidth
                        height: 1
                        y:-1
                        color: table_line_color
                    }


                    //数据
                    Row{
                        id:datasRow
                        anchors.top: topicRow.bottom
                        Repeater{
                            id:rowRep
                            model: 12
                            delegate: Rectangle{
                                width: 660
                                height: 20
                                //入管时间列
                                Column{
                                    id:tubeInTimeCol
                                    Repeater{
                                        model: {
                                            if(index==0){
                                                return tube_in1_datas_model
                                            }
                                            else if(index==1){
                                                return tube_in2_datas_model
                                            }
                                            else if(index==2){
                                                return tube_in3_datas_model
                                            }
                                            else if(index==3){
                                                return tube_in4_datas_model
                                            }
                                            else if(index==4){
                                                return tube_in5_datas_model
                                            }
                                            else if(index==5){
                                                return tube_in6_datas_model
                                            }
                                            else if(index==6){
                                                return tube_in7_datas_model
                                            }
                                            else if(index==7){
                                                return tube_in8_datas_model
                                            }
                                            else if(index==8){
                                                return tube_in9_datas_model
                                            }
                                            else if(index==9){
                                                return tube_in10_datas_model
                                            }
                                            else if(index==10){
                                                return tube_in11_datas_model
                                            }
                                            else if(index==11){
                                                return tube_in12_datas_model
                                            }

                                        }
                                        delegate: Rectangle{
                                            id: tubeInTimeDatas
                                            width: 140
                                            height: 20
                                            color: time_topic_table_background_color
                                            Text {

                                                text: time
                                                font.pixelSize: 16
                                                anchors.centerIn: parent

                                            }
                                            Rectangle{
                                                width: parent.width
                                                height: 1
                                                anchors.bottom: parent.bottom
                                                color: table_line_color
                                            }
                                            Rectangle{
                                                width: 1
                                                height: parent.height
                                                anchors.right: parent.right
                                                color: table_line_color
                                            }

                                        }
                                    }
                                }

                                //入管温度列
                                Column{
                                    id:tubeInTempCol
                                    anchors.left: tubeInTimeCol.right
                                    Repeater{
                                        model: {
                                            if(index==0){
                                                return tube_in1_datas_model
                                            }
                                            else if(index==1){
                                                return tube_in2_datas_model
                                            }
                                            else if(index==2){
                                                return tube_in3_datas_model
                                            }
                                            else if(index==3){
                                                return tube_in4_datas_model
                                            }
                                            else if(index==4){
                                                return tube_in5_datas_model
                                            }
                                            else if(index==5){
                                                return tube_in6_datas_model
                                            }
                                            else if(index==6){
                                                return tube_in7_datas_model
                                            }
                                            else if(index==7){
                                                return tube_in8_datas_model
                                            }
                                            else if(index==8){
                                                return tube_in9_datas_model
                                            }
                                            else if(index==9){
                                                return tube_in10_datas_model
                                            }
                                            else if(index==10){
                                                return tube_in11_datas_model
                                            }
                                            else if(index==11){
                                                return tube_in12_datas_model
                                            }

                                        }
                                        delegate: Rectangle{
                                            id: tubeInTempDatas
                                            width: 80
                                            height: 20
                                            color: temp_topic_table_background_color
                                            Text {

                                                text: temp
                                                font.pixelSize: 16
                                                anchors.centerIn: parent

                                            }
                                            Rectangle{
                                                width: parent.width
                                                height: 1
                                                anchors.bottom: parent.bottom
                                                color: table_line_color
                                            }
                                            Rectangle{
                                                width: 1
                                                height: parent.height
                                                anchors.right: parent.right
                                                color: table_line_color
                                            }

                                        }
                                    }
                                }

                                //出管时间列
                                Column{
                                    id:tubeOutTimeCol
                                    anchors.left: tubeInTempCol.right
                                    Repeater{
                                        model: {
                                            if(index==0){
                                                return tube_out1_datas_model
                                            }
                                            else if(index==1){
                                                return tube_out2_datas_model
                                            }
                                            else if(index==2){
                                                return tube_out3_datas_model
                                            }
                                            else if(index==3){
                                                return tube_out4_datas_model
                                            }
                                            else if(index==4){
                                                return tube_out5_datas_model
                                            }
                                            else if(index==5){
                                                return tube_out6_datas_model
                                            }
                                            else if(index==6){
                                                return tube_out7_datas_model
                                            }
                                            else if(index==7){
                                                return tube_out8_datas_model
                                            }
                                            else if(index==8){
                                                return tube_out9_datas_model
                                            }
                                            else if(index==9){
                                                return tube_out10_datas_model
                                            }
                                            else if(index==10){
                                                return tube_out11_datas_model
                                            }
                                            else if(index==11){
                                                return tube_out12_datas_model
                                            }

                                        }
                                        delegate: Rectangle{
                                            id: tubeOutTimeDatas
                                            width: 140
                                            height: 20
                                            color: time_topic_table_background_color
                                            Text {

                                                text: time
                                                font.pixelSize: 16
                                                anchors.centerIn: parent

                                            }
                                            Rectangle{
                                                width: parent.width
                                                height: 1
                                                anchors.bottom: parent.bottom
                                                color: table_line_color
                                            }
                                            Rectangle{
                                                width: 1
                                                height: parent.height
                                                anchors.right: parent.right
                                                color: table_line_color
                                            }

                                        }
                                    }
                                }

                                //出管温度列
                                Column{
                                    id:tubeOutTempCol
                                    anchors.left: tubeOutTimeCol.right
                                    Repeater{
                                        model: {
                                            if(index==0){
                                                return tube_out1_datas_model
                                            }
                                            else if(index==1){
                                                return tube_out2_datas_model
                                            }
                                            else if(index==2){
                                                return tube_out3_datas_model
                                            }
                                            else if(index==3){
                                                return tube_out4_datas_model
                                            }
                                            else if(index==4){
                                                return tube_out5_datas_model
                                            }
                                            else if(index==5){
                                                return tube_out6_datas_model
                                            }
                                            else if(index==6){
                                                return tube_out7_datas_model
                                            }
                                            else if(index==7){
                                                return tube_out8_datas_model
                                            }
                                            else if(index==8){
                                                return tube_out9_datas_model
                                            }
                                            else if(index==9){
                                                return tube_out10_datas_model
                                            }
                                            else if(index==10){
                                                return tube_out11_datas_model
                                            }
                                            else if(index==11){
                                                return tube_out12_datas_model
                                            }

                                        }
                                        delegate: Rectangle{
                                            id: tubeOutTempDatas
                                            width: 80
                                            height: 20
                                            color: temp_topic_table_background_color
                                            Text {

                                                text: temp
                                                font.pixelSize: 16
                                                anchors.centerIn: parent

                                            }
                                            Rectangle{
                                                width: parent.width
                                                height: 1
                                                anchors.bottom: parent.bottom
                                                color: table_line_color
                                            }
                                            Rectangle{
                                                width: 1
                                                height: parent.height
                                                anchors.right: parent.right
                                                color: table_line_color
                                            }

                                        }
                                    }
                                }

                                //COT时间列
                                Column{
                                    id:tubeCotTimeCol
                                    anchors.left: tubeOutTempCol.right
                                    Repeater{
                                        model: {
                                            if(index==0){
                                                return tube_cot1_datas_model
                                            }
                                            else if(index==1){
                                                return tube_cot2_datas_model
                                            }
                                            else if(index==2){
                                                return tube_cot3_datas_model
                                            }
                                            else if(index==3){
                                                return tube_cot4_datas_model
                                            }
                                            else if(index==4){
                                                return tube_cot5_datas_model
                                            }
                                            else if(index==5){
                                                return tube_cot6_datas_model
                                            }
                                            else if(index==6){
                                                return tube_cot7_datas_model
                                            }
                                            else if(index==7){
                                                return tube_cot8_datas_model
                                            }
                                            else if(index==8){
                                                return tube_cot9_datas_model
                                            }
                                            else if(index==9){
                                                return tube_cot10_datas_model
                                            }
                                            else if(index==10){
                                                return tube_cot11_datas_model
                                            }
                                            else if(index==11){
                                                return tube_cot12_datas_model
                                            }

                                        }

                                        delegate: Rectangle{
                                            id: tubeCotTimeDatas
                                            width: 140
                                            height: 20
                                            color: time_topic_table_background_color
                                            Text {

                                                text: time
                                                font.pixelSize: 16
                                                anchors.centerIn: parent

                                            }
                                            Rectangle{
                                                width: parent.width
                                                height: 1
                                                anchors.bottom: parent.bottom
                                                color: table_line_color
                                            }
                                            Rectangle{
                                                width: 1
                                                height: parent.height
                                                anchors.right: parent.right
                                                color: table_line_color
                                            }

                                        }
                                    }
                                }

                                //COT温度列
                                Column{
                                    id:tubeCotTempCol
                                    anchors.left: tubeCotTimeCol.right
                                    Repeater{
                                        model: {
                                            if(index==0){
                                                return tube_cot1_datas_model
                                            }
                                            else if(index==1){
                                                return tube_cot2_datas_model
                                            }
                                            else if(index==2){
                                                return tube_cot3_datas_model
                                            }
                                            else if(index==3){
                                                return tube_cot4_datas_model
                                            }
                                            else if(index==4){
                                                return tube_cot5_datas_model
                                            }
                                            else if(index==5){
                                                return tube_cot6_datas_model
                                            }
                                            else if(index==6){
                                                return tube_cot7_datas_model
                                            }
                                            else if(index==7){
                                                return tube_cot8_datas_model
                                            }
                                            else if(index==8){
                                                return tube_cot9_datas_model
                                            }
                                            else if(index==9){
                                                return tube_cot10_datas_model
                                            }
                                            else if(index==10){
                                                return tube_cot11_datas_model
                                            }
                                            else if(index==11){
                                                return tube_cot12_datas_model
                                            }

                                        }

                                        delegate: Rectangle{
                                            id: tubeCotTempDatas
                                            width: 80
                                            height: 20
                                            color: temp_topic_table_background_color
                                            Text {

                                                text: temp
                                                font.pixelSize: 16
                                                anchors.centerIn: parent

                                            }
                                            Rectangle{
                                                width: parent.width
                                                height: 1
                                                anchors.bottom: parent.bottom
                                                color: table_line_color
                                            }
                                            Rectangle{
                                                width: 1
                                                height: parent.height
                                                anchors.right: parent.right
                                                color: tubes_gap_table_line_color
                                            }

                                        }
                                    }
                                }

                            }
                        }
                    }

                    Rectangle{
                        width: 3
                        height: subflic.contentHeight
                        color: table_line_color
                        x:-3
                    }
                }
            }

            //横向滑竿
            Rectangle{
                id: hrec
                width: topicFlic.width
                height: 20
                anchors.top: topicFlic.bottom
                color: "#666666"
                clip: true
                Rectangle{
                    id:hslider
                    width: topicFlic.width*400/topicFlic.contentWidth
                    height: 16
                    y:2
                    x:topicFlic.contentX*(topicFlic.width-width)/(topicFlic.contentWidth-topicFlic.width)
                    color: "#2289a3"
                }
            }

            //表单选择栏
            Rectangle{
                width: parent.width
                height: 40
                anchors.bottom: parent.bottom
                color: "#4578dd"

                Rectangle{
                    id:sheet1bnt
                    width: parent.width/4
                    height: parent.height
                    color: isSelected_sheet1?"#555555":"#4578bb"
                    Text {
                        text: qsTr("第一组炉管历史温度")
                        font.pixelSize: 25
                        anchors.centerIn: parent
                    }
                    MouseArea{
                        anchors.fill: parent
                        onClicked: {
                            isSelected_sheet1=true
                            isSelected_sheet2=false
                            isSelected_sheet3=false
                            isSelected_sheet4=false

                            clearDatas();
                            createDatas_1();
                            groupNum=1



                        }
                    }
                    Rectangle{
                        width: 1
                        height: parent.height
                        anchors.right: parent.right
                        color: "#666666"
                    }
                }

                Rectangle{
                    id:sheet2bnt
                    width: parent.width/4
                    anchors.left: sheet1bnt.right
                    height: parent.height
                    color: isSelected_sheet2?"#555555":"#4578bb"
                    Text {
                        text: qsTr("第二组炉管历史温度")
                        font.pixelSize: 25
                        anchors.centerIn: parent
                    }
                    MouseArea{
                        anchors.fill: parent
                        onClicked: {
                            isSelected_sheet1=false
                            isSelected_sheet2=true
                            isSelected_sheet3=false
                            isSelected_sheet4=false
                            groupNum=2

                            clearDatas();
                            createDatas_2();

                        }
                    }
                    Rectangle{
                        width: 1
                        height: parent.height
                        anchors.right: parent.right
                        color: "#666666"
                    }
                }

                Rectangle{
                    id:sheet3bnt
                    width: parent.width/4
                    anchors.left: sheet2bnt.right
                    height: parent.height
                    color: isSelected_sheet3?"#555555":"#4578bb"
                    Text {
                        text: qsTr("第三组炉管历史温度")
                        font.pixelSize: 25
                        anchors.centerIn: parent
                    }
                    MouseArea{
                        anchors.fill: parent
                        onClicked: {
                            isSelected_sheet1=false
                            isSelected_sheet2=false
                            isSelected_sheet3=true
                            isSelected_sheet4=false

                            groupNum=3

                            clearDatas();
                            createDatas_3();

                        }
                    }
                    Rectangle{
                        width: 1
                        height: parent.height
                        anchors.right: parent.right
                        color: "#666666"
                    }
                }

                Rectangle{
                    id:sheet4bnt
                    width: parent.width/4
                    anchors.left: sheet3bnt.right
                    height: parent.height
                    color: isSelected_sheet4?"#555555":"#4578bb"
                    Text {
                        text: qsTr("第四组炉管历史温度")
                        font.pixelSize: 25
                        anchors.centerIn: parent
                    }
                    MouseArea{
                        anchors.fill: parent
                        onClicked: {
                            isSelected_sheet1=false
                            isSelected_sheet2=false
                            isSelected_sheet3=false
                            isSelected_sheet4=true

                            groupNum=4

                            clearDatas();
                            createDatas_4();

                        }
                    }
                }
            }
        }



    }

}
